package com.gjintel.workflow.trade.service;

import org.activiti.engine.repository.ProcessDefinition;

public interface IWorkflowProcessDefinitionService {
	
	public ProcessDefinition findProcessDefinitionByPid(String processInstanceId);
	
	public ProcessDefinition findProcessDefinition(String processDefinitionId);
	
	public void deployFromClasspath(String... processKey) throws Exception;
	
	public void redeploy(String... processKey) throws Exception ;
	public void deployAllFromClasspath() throws Exception;
}
